import AstarNode from "./AstarNode";


const {ccclass, property} = cc._decorator;

@ccclass
export default class AstarCommand{
    public id:number;
    public ownerId;
    public startX:number;
    public startY:number;
    public endX:number;
    public endY:number;
    public started:boolean;
    public cb:Function;
    public prevAstarNode:AstarNode;
    public startNode: AstarNode;
    public endNode: AstarNode;
    public remainForNum: number;
    public path: cc.Vec2[];
}